package com.cstz.ydshop.common.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import com.cstz.ydshop.common.domain.CouponDO;


@Mapper
public interface CouponDao {

	CouponDO get(Integer id);
	
	List<CouponDO> list(Map<String,Object> map);
	
	int count(Map<String,Object> map);
	
	int save(CouponDO coupon);
	
	int update(CouponDO coupon);
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);
	
}
